package com.ssh.action;

import com.opensymphony.xwork2.ActionSupport;
import com.ssh.dao.UserDao;
import com.ssh.dao.UserDaoImpl;
import com.ssh.service.UserService;

public class UserAction extends ActionSupport {


	private UserService userService;
	public void setUserService(UserService userService) {
		this.userService = userService;
	}

	@Override
	public String execute() throws Exception {
		userService.add();
		
		
		System.out.println("Action 中的 execute 方法执行了...");
		return NONE;
	}
	
}
